#ifndef DATA_STATISTICS_WIDGET_H
#define DATA_STATISTICS_WIDGET_H

#include <QWidget>
#include <QSqlTableModel>
#include "control/contrl_logic.h"
namespace Ui {
class DataStatisticsWidget;
}

class DataStatisticsWidget : public QWidget
{
    Q_OBJECT

public:
    explicit DataStatisticsWidget(QWidget *parent = nullptr);
    ~DataStatisticsWidget();

private slots:
    void on_record_btn_clicked();

    void on_customer_data_btn_clicked();
signals:
    void signOtherChart(QString,QMap<QString , int>);
private:
    Ui::DataStatisticsWidget *ui;
};

#endif // DATA_STATISTICS_WIDGET_H
